// src/store/listStore.js
import { defineStore } from 'pinia'

export const useListStore = defineStore('list', {
  state: () => ({
    list: [],
  }),
  actions: {
    setList(newList) {
      this.list = newList
      // console.log(this.list)
    },
  },
})
